package com.pomelo.tool.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import com.pomelo.base.core.bean.ResultBean;

@Controller
public class LoginController {

    @RequestMapping("/user/login")
    @ResponseBody
    public ResultBean login() throws Exception {
        return ResultBean.success("admin-token");
    }
}
